import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/pms/pmsDict/list',
method: 'get',
params: params
})
}
export function createPmsDict(data) {
return request({
url: '/pms/pmsDict/create',
method: 'post',
data: data
})
}

export function deletePmsDict(id) {
return request({
url: '/pms/pmsDict/delete/' + id,
method: 'get',
})
}

export function getPmsDict(id) {
return request({
url: '/pms/pmsDict/' + id,
method: 'get',
})
}

export function updatePmsDict(id, data) {
return request({
url: '/pms/pmsDict/update/' + id,
method: 'post',
data: data
})
}

